.custom-card {
  width: 100%; /* ikut col */
  max-width: 300px;
  height: 350px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; /* supaya child bisa diatur flex */
  flex-direction: column; /* konten tersusun vertikal */
  cursor: pointer;
}

.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.custom-card img {
  transition: transform 0.4s ease;
}

.custom-card:hover img {
  transform: scale(1.1);
}

.card-img-overlay-top {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: flex-end; /* geser ke kanan */
  color: #fff;
  font-weight: bold;
}

.card-footer-text {
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  padding: 15px;
}

.card-img-top {
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.card-body {
  flex: 1; /* ambil sisa tinggi dari card */
  display: flex;
  align-items: center; /* vertikal tengah */
  justify-content: center; /* horizontal tengah */
}

#galleryCarousel img {
  object-fit: contain;
  height: 500px; /* atur sesuai kebutuhan */
  border-radius: 10px;
}
